RewriteEngine on

RewriteCond %{HTTP_HOST} ^kaycollection.id [NC,OR]

RewriteCond %{HTTP_HOST} ^www.kaycollection.id [NC]

RewriteRule ^(.*)$ https://www.kaycollection.com/$1 [L,R=301,NC]

RewriteRule ^(.*)$ https://kaycollection.com/$2 [L,R=301,NC]